package cn.iocoder.yudao.framework.business.sse.pojo;

import cn.iocoder.yudao.framework.business.sse.enums.SseTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 *  招商推广码，用于招商人员给线下实体门店商家扫码入驻绑定推广关系
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/01/04
 */
@Tag(name = "系统消息未读")
@Data
public final class SystemMessageUnreadType implements SseDataType {
    @Schema(description = "未读数", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer count;

    @Schema(description = "类型：system_message_unread", requiredMode = Schema.RequiredMode.REQUIRED)
    @Override
    public String getType() {
        return SseTypeEnum.SYSTEM_MESSAGE_UNREAD.getCode();
    }

}

